package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Moudle)实体类
 *
 * @author libingchuan
 * @since 2022-05-24 16:33:26
 */
@TableName("web_moudle")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Moudle implements Serializable {
    private static final long serialVersionUID = -77111528781676568L;
    /**
     * 模块id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 网站id
     */
    private Integer websiteId;
    /**
     * 模块名称
     */
    private String moudleName;
    /**
     * 模块名称
     */
    private String enName;
    /**
     * 模块描述
     */
    private String moudleDescription;
    /**
     * 排序
     */
    private String moudleOrder;
    /**
     * 重定向url
     */
    private String redirectUrl;
    /**
     * 1 父级，2 子集
     */
    private Integer level;
    /**
     * 父模块id
     */
    private Integer parentId;
    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreated;
    /**
     * 是否隐藏
     */
    private Integer isShow;
    /**
     * 是否定制化
     */
    private Integer isCustomized;
    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private List<Moudle> childrenList;

    @TableField(exist = false)
    private Object columnList;

    @TableField(exist = false)
    private List<JSONArray> nodeList;

    @TableField(exist = false)
    private Integer category;

    private String identify;

    private String path;

    private String component;

    @TableField(exist = false)
    private Integer columnCount;

    @TableField(exist = false)
    private String nodeName;

    @TableField(exist = false)
    private String nodeEnName;

    private Integer isOutLink;

    private String extend;

    private Integer relevanceId;


}

